package com.antler.smt.constant;

/**
 * 订单常量
 *
 * @author zhangyi
 * @date 2018/4/3 11:50
 */
public class OrderConstant {

    /**
     * 完成订单数 >3 为优质加工成
     */
    public static final Integer ORDER_COUNT = 3;

    /**
     * 申请成功反馈
     */
    public static final String APPLY_SUCCESS = "申请成功";

    /**
     * 保存地址的最大限度
     */
    public static final Integer ADRESS_SIZE = 20;

    //进度 0商务专员待采购商付款 1待确认付款 2待对接服务商 3待生产完成  4待收货 6待评价 7待付款给服务商 8结束 100驳回 200退款申请 201退款审核通过 202退款审核驳回

    /**
     * 2待对接服务商
     */
    public static final Integer ORDER_WAIT_JOIN_SUPPLIER = 2;

    /**
     * 0待付款(采购商)
     */
    public static final Integer ORDER_WAIT_PAYMENT = 0;

    /**
     * 1待确认付款(项目专员)
     */
    public static final Integer ORDER_WAIT_SURE_PAYMENT = 1;

    //------------

    /**
     * 3待生产完成
     */
    public static final Integer  ORDER_WAIT_PRODUCE_END= 3;

    /**
     * 4待收货
     */
    public static final Integer ORDER_WAIT_GIVEGOODS = 4;

    /**
     * 6待评价
     */
    public static final Integer ORDER_WAIT_COMMENT = 6;

    /**
     * 7待付款给服务商
     */
    public static final Integer ORDER_WAIT_PAY_SUPPLIER = 7;

    /**
     * 8结束
     */
    public static final Integer ORDER_END = 8;

    /**
     * 100驳回
     */
    public static final Integer ORDER_FAIL = 100;


    /**
     * 1线下打款
     */
    public static final Integer OFFLINE_PAYMENT = 1;

    /**
     * 2银联
     */
    public static final Integer UNIONPAY = 2;

    /**
     * 3支付宝
     */
    public static final Integer ALIPAY = 3;

    /**
     * 4微信
     */
    public static final Integer WECHAT = 4;

    /**
     * 5余额支付
     */
    public static final Integer BALANCE = 5;
    /**
     * 申请退款
     */
    public static final Integer ORDER_APPLY_REFUND = 200;

    /**
     * 退款通过
     */
    public static final Integer ORDER_REFUND_PASS = 201;

    /**
     * 退款驳回
     */
    public static final Integer ORDER_REFUND_FAIL = 202;

    /**
     * 协商一致，恢复开始订单状态
     */
    public static final Integer ORDER_REFUND = 203;


}
